package com.assignwork.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * VoyageVisaVO
 */
@Data
@ApiModel(value = "VoyageVisaVO对象", description = "船舶签证")
public class VoyageVisaVO {

    /** 主键id;主键id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    private Long id;
    
    /** 创建时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    
    /** 更新时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    
    /** 代理公司 */
    @ApiModelProperty(value = "代理公司")
    private String agencyCo;
    
    /** 进出口 */
    @ApiModelProperty(value = "进出口")
    private String impExp;
    
    /** 货名 */
    @ApiModelProperty(value = "货名")
    private String cargoNameKey;
    
    /** 别名 */
    @ApiModelProperty(value = "别名")
    private String reCargoNameKey;
    
    /** 散杂 */
    @ApiModelProperty(value = "散杂")
    private String packageBulkKey;
    
    /** 总吨 */
    @ApiModelProperty(value = "总吨")
    private BigDecimal totalTon;
    
    /** 签证吨 */
    @ApiModelProperty(value = "签证吨")
    private BigDecimal visaTon;
    
    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;
    
    /** 航次ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;
    
}